<?php
function draw_report_device(){
	html_tab_control_start();
	html_draw_tab("?run=report_device&tab=module", "Module Report");
	html_draw_tab("?run=report_device&tab=trans", "Transceiver Report");
	html_draw_tab("?run=report_device&tab=port", "Port Report");
	html_tab_control_end();
	if (isset($_REQUEST['tab'])){
		$getchosse=$_REQUEST['tab'];
	}else{
		$getchosse='';
	}
	switch($getchosse){
		case 'trans' :
			draw_trans_report();
			break;
		case 'port' :
			draw_port_report();
			break;
		case 'module' :
			draw_module_report();
			break;
		default :
			html_master_defaut_page();
			break;
	}
}
?>